|
This page last changed on Oct 29, 2009 by brian.
Use Cases
ConceptName
Insert
- Does a duplicate name already exist?
- Don't need to worry. JPA will throw an exception since it's a unique column.
- Is it a primary name? Only 1 primary name per concept is allowed.
- Is there another primary name for that concept already?
- Yes = throw exception
- No = continue
Delete
- Is it a primary name?
- Yes = throw exception
- No = delete it
Update
- Does a duplicate name already exist?
- Don't need to worry. JPA will throw an exception since it's a unique column.
- Is it a primary name? Only 1 primary name per concept is allowed.
- Is there another primary name for that concept already?
- Yes = throw exception
- No = continue
- Is it a non-primary name?
- Make sure the concept has at least 1 primary name
|